class Storage {

  get(key) {
    wx.getStorage()
  }

  updateForKey(objname, updateKey, value) {
    let data = wx.getStorageSync(objname);
    data = data ? data : {};
    data[updateKey] = value
    wx.setStorageSync(objname, data)
  }

  save() {

  }

  remove() {

  }


}

const storage = new Storage()

export default storage;